/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.BangKeDichVuBLL;
import edu.nii.qlks.DataTransferObject.BangKeDichVuInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class BangKeDichVuControl {
    BangKeDichVuBLL BangKeDichVu = new BangKeDichVuBLL();
    
    public ArrayList LayDS() throws Exception{
        return BangKeDichVu.LayDS();
    }
        
    public void Insert(BangKeDichVuInfo bangKeDichVuInfo) throws Exception{
        BangKeDichVu.Insert(bangKeDichVuInfo);
    }
    
    public void Update(BangKeDichVuInfo bangKeDichVuInfo) throws Exception{
        BangKeDichVu.Update(bangKeDichVuInfo);
    }
    
    public void Delete(BangKeDichVuInfo bangKeDichVuInfo) throws Exception{
        BangKeDichVu.Delete(bangKeDichVuInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
         return BangKeDichVu.TaoMaTuDong(maGoc, batDau);
     }
}
